const fs = require("fs");

console.log("开始读取strings.xml");

let stringUrl = "default/res/values/strings.xml";

if (fs.existsSync(stringUrl)) {
    let tempContent = fs.readFileSync(stringUrl).toString();
    if (tempContent.indexOf("") != -1) {
        tempContent = tempContent.replace(nowPackName, toPackName);
        fs.writeFileSync(manifestPath, tempContent);
    }
    console.log("重写manifestfinish");
}